<!--
  Generated template for the AssistTabPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<!--
  Generated template for the ApplyInfoTabPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar>
    <ion-title>
      辅助事项
    </ion-title>
  </ion-navbar>
</ion-header>
<ion-content class="content_div" >
<!--
  <div style="width: 100%;height: 0.6rem;background-color: #F7F7F7"></div>
-->
  <div>
    <div class="header">
      <div class="feeInfoHeader" >
        <div    style="    margin-left: 0.5rem;">
          辅助项名称
        </div>
        <div class="context">
          辅助项内容
        </div>
      </div>
    </div>
    <div  style="width: 95%;margin: 0 auto;" *ngIf="!moneyAppleBool" >
        <div *ngFor="let item of dataList">
          <ion-item *ngIf="item.Type =='1' " >
            <ion-label >{{item.MingCheng}}</ion-label>
            <ion-input  no-lines="" type="number" placeholder="请填写" [(ngModel)]="item.key"></ion-input>
          </ion-item>
          <ion-item *ngIf="item.Type =='2' " >
            <ion-label >{{item.MingCheng}}</ion-label>
            <ion-input  no-lines="" type="text" placeholder="请填写" [(ngModel)]="item.key"></ion-input>
          </ion-item>
          <ion-item *ngIf="item.Type =='4'" >
            <ion-label >{{item.MingCheng}}</ion-label>
            <ion-select no-lines="" okText="确定" cancelText="取消" [(ngModel)]="item.key"  style="height:45px;" placeholder="请选择">
                <ion-option *ngFor="let typeData of item.Options" value="{{typeData?.Value}}">{{typeData?.Text}}</ion-option>
            </ion-select>
          </ion-item>
          <ion-item *ngIf="item.Type =='3'">
            <ion-label >{{item.MingCheng}}</ion-label>
            <ion-datetime displayFormat="YYYY-MM-DD" cancelText="取消" doneText="确定" [(ngModel)]="item.key"></ion-datetime>
            <img src="assets/imgs/icon_time.png" item-end class="date-img">
          </ion-item>
        </div>
    </div>
    <div  style="width: 95%;margin: 0 auto;" *ngIf="moneyAppleBool" >
      <div *ngFor="let item of dataList">
        <ion-item *ngIf="item.FZSXType =='1' " >
          <ion-label >{{item.FZSXMingCheng}}</ion-label>
          <ion-input  no-lines="" type="number" placeholder="请填写" [(ngModel)]="item.key"></ion-input>
        </ion-item>
        <ion-item *ngIf="item.FZSXType =='2' " >
          <ion-label >{{item.FZSXMingCheng}}</ion-label>
          <ion-input  no-lines="" type="text" placeholder="请填写" [(ngModel)]="item.key"></ion-input>
        </ion-item>
        <ion-item *ngIf="item.FZSXType =='4'" >
          <ion-label >{{item.FZSXMingCheng}}</ion-label>
          <ion-select no-lines="" okText="确定" cancelText="取消" [(ngModel)]="item.key"  style="height:45px;" placeholder="请选择">
            <ion-option *ngFor="let typeData of item.FZSXOptions" value="{{typeData?.FZSXValue}}">{{typeData?.FZSXText}}</ion-option>
          </ion-select>
        </ion-item>
        <ion-item *ngIf="item.FZSXType =='3'">
          <ion-label >{{item.FZSXMingCheng}}</ion-label>
          <ion-datetime displayFormat="MM/DD/YYYY" cancelText="取消" doneText="确定" [(ngModel)]="item.key"></ion-datetime>
          <img src="assets/imgs/icon_time.png" item-end class="date-img">
        </ion-item>
      </div>
    </div>
  </div>
  <div  class="buttonDiv" >
    <button ion-button (click)="pre()">上一步</button>
    <button ion-button  (click)="next()">下一步</button>
  </div>
</ion-content>
